package com.chinawayltd.ews.sample.model.task;

import java.util.List;

import com.chinawayltd.ews.sample.model.TTask;
import com.chinawayltd.ews.sample.model.order.OrderVO;

import io.swagger.annotations.ApiModelProperty;

/**
 * @program: greeProject
 * @description 运输任务与订单明细之间的组装类（用于添加任务
 * @author: chenxin
 * @create: 2018年4月17日 下午11:15:28
 */
public class TaskOrderDetailVO extends TTask{
	
	@ApiModelProperty(value = "订单的添加修改删除标识：0代表 未操作，1代表增加、2代表修改、3代表删除")
	private String change;// 订单的添加修改删除标识：0代表 未操作，1代表增加、2代表修改、3代表删除
//    private Long orderId;
//    private Long orderStartPlaceId;
//    private Long orderEndPlaceId;
//    private String orderOrderNo;
//    private Byte orderGenerateStatus;
//    private Byte orderExecuteStatus;
//    private Date orderOrderDate;
//    private Date orderEarlyDeliveryTime;
//    private Date orderLastDeliveryTime;
//    private Byte orderTransportUnit;
//    private String orderApplyDepartment;
//    private Byte orderEntrySource;
//    private Date orderCreateTime;
//    private Date orderUpdateTime;
	@ApiModelProperty(value = "计划开始时间")
    private String startTimeStr;
	@ApiModelProperty(value = "计划完成时间")
    private String finishTimeStr;
	@ApiModelProperty(value = "最大可用板位数")
	private Byte MaxTransportUnit;
    
    public String getFinishTimeStr() {
		return finishTimeStr;
	}

	public void setFinishTimeStr(String finishTimeStr) {
		this.finishTimeStr = finishTimeStr;
	}

	@ApiModelProperty(value = "新增或修改的时候接收的orderId集合")
    private List<Long> orderIdList;
	
	@ApiModelProperty(value = "订单明细对象")
	private List<OrderVO> detailList; // 物料明细数组

	public String getChange() {
		return change;
	}

	public void setChange(String change) {
		this.change = change;
	}

	public List<OrderVO> getDetailList() {
		return detailList;
	}

	public void setDetailList(List<OrderVO> detailList) {
		this.detailList = detailList;
	}

	public String getStartTimeStr() {
		return startTimeStr;
	}

	public void setStartTimeStr(String startTimeStr) {
		this.startTimeStr = startTimeStr;
	}

	public List<Long> getOrderIdList() {
		return orderIdList;
	}

	public void setOrderIdList(List<Long> orderIdList) {
		this.orderIdList = orderIdList;
	}

	public Byte getMaxTransportUnit() {
		return MaxTransportUnit;
	}

	public void setMaxTransportUnit(Byte maxTransportUnit) {
		MaxTransportUnit = maxTransportUnit;
	}
}
